$(function(){
	let current = 0
	function tab(current){
		$(".info-content div").eq(current).show().siblings().hide()
		$(".info-l ul li").eq(current).addClass("active").siblings().removeClass("active")
		let width = $(".info-content div").eq(current).height()
		$('.info-content').css({height:width})
	}
	tab(current)
	$(".info-l ul").on("click","li",function(){
		let index = $(this).index()

		tab(index)
	})
})
